<?php
namespace Home\Model;

class PackageGoodsModel extends \Common\Model\CommonModel{
    protected $_link = array(
        'goods' =>array(
            'mapping_type'=>self::BELONGS_TO,
            'class_name'=>'Goods',
            'foreign_key'=>'goods_id'
        ),
    );
}